package com.pheruagor.handmanager.model.business {
    import mx.collections.ArrayCollection;


    public class CustomMenuItem {

        private var m_label:String;
        private var m_id:String;
        private var m_children:ArrayCollection;

        //-----------------------------------------------------
        // Initialization
        //-----------------------------------------------------
        public function CustomMenuItem(id:String, label:String, children:ArrayCollection = null) {
            m_id = id;
            m_label = label;
            m_children = children;
        }

        //-----------------------------------------------------
        // Access
        //-----------------------------------------------------
        public function get label():String {
            return m_label;
        }

        public function set label(value:String):void {
            m_label = label;
        }

        public function get id():String {
            return m_id;
        }

        public function set id(value:String):void {
            m_id = id;
        }

        public function get children():ArrayCollection {
            return m_children;
        }

        public function set children(value:ArrayCollection):void {
            m_children = children;
        }
    }
}